test:test.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

package_task:package_task.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

promise:promise.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

future:future.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f future promise package_task test